*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
img{
    vertical-align: middle;
    border: none;
}
body{
    background-color: #f9f9f9;
}

.box{
    width: 854px;
    height: 560px;
    padding-bottom: 80px;
    background-color: #fff;
    margin: 0 auto;
}

.box .main{
    padding-bottom: 10px;
    width: 854px;
    height: 550px;
    position: relative;
}

.box .main .logo{
    height: 44px;
    width: 100%;
    padding-bottom: 20px;
}
.box .main .logo span{
    display: block;
    width: 49px;
    height: 49px;
    background: url(https://account.xiaomi.com/static/res/349d9c1/account-static/respassport/acc-2014/img/milogo.png) no-repeat;
    margin: 0 auto;
}

.box .main h1{
    text-align: center;
    font-size: 30px;
    font-weight: normal;
}

.box .main .form-first{
    width: 332px;
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
}

.box .main .form-first input{
    width: 257px;
    height: 42px;
    border: none;
    border: 1px solid #ddd;
    outline: none;
    padding-left: 75px;
}

.box .main .form-first #ver-code{
    padding-left: 10px;
    width: 180px;
}
.box .main .form-first .verification{
    position: relative;
    margin-bottom: 20px;
}
.box .main .form-first .verification #ver-tip{
    color: red;
    position: absolute;
    font-size: 14px;
    display: none;
    left: 0;
    bottom: -20px;
}
.box .main .form-first .verification .ver-btn{
    border: 1px solid #ddd;
    float: right;
    width: 80px;
    height: 42px;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
}

.box .main .form-first .verification .ver-btn:hover{
    background-color: #ddd;
}
.box .main .form-first #name-tip{
    font-size: 14px;
    color: red;
    display: none;
    position: absolute;
}

.box .main .form-first #password{
    padding-left: 10px;
    width: 324px;
    margin-bottom: 5px;
}
.box .main .form-first #psw-tip{
    font-size: 14px;
    display: none;
    position: absolute;
}

.box .main .form-first #btn{
    width: 334px;
    height: 42px;
    background-color: #ff6700;
    color: #fff;
    border: none;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    outline: none;
}
.box .main .form-first .mask{
    width: 334px;
    height: 42px;
    position: absolute;
    background-color:rgba(255,255,255,0);
    left: 0;
    top: 0;
}
.box .main .form-first #btn:hover .mask{
    background-color:rgba(255,255,255,0.5);
}

.box .main .form-first .list{
    width:332px;
    height: 42px;
    border: 1px solid #ddd;
    margin-bottom: 40px;
    cursor: pointer;
    line-height: 42px;
    position: relative;
}
.box .main .form-first .list::after{
    content: "";
    background: url(https://account.xiaomi.com/static/res/0eeaaed/passport/oauth/images/icon_user.png) no-repeat;
    position: absolute;
    width: 16px;
    height: 16px;
    right: 13px;
    top: 13px;
}
.box .main .form-first .list em{
    float: right;
    width: 42px;
    height: 42px;
    border-left: 1px solid #ddd;
}
.box .main .form-first .list span{
    padding-left: 10px;
}
.box .main .list-p{
    font-size: 14px;
    margin-bottom: 5px;
}
.box .main .list-p2{
    position: absolute;
    font-size: 14px;
    top: 103px;
}

.box .main .form-first i{
    position: absolute;
    width: 68px;
    height: 42px;
    border-right: 1px solid #ddd;
    top: 164px;
    font-size: 14px;
    font-style: normal;
    text-align: center;
    line-height: 42px;
    cursor: pointer;
}

.box .main .list_menu{
    width: 332px;
    height: 270px;
    border: 1px solid #ddd;
    border-top: none;
    position: absolute;
    left: calc(50% - 166px);
    bottom: 86px;
    background-color: #fff;
    overflow-y: scroll;
    display: none;
}

.box .main .list_menu input{
    width: 274px;
    height: 22px;
    border: 1px solid #e0e0e0;
    line-height: 22px;
    padding: 5px 10px 5px 10px;
    display: block;
    margin: 10px auto 0;
    outline: none;
}
.box .main .list_menu ul{
    margin-top: 20px;
}
.box .main .list_menu ul li{
    padding: 0 10px;
    height: 40px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    line-height: 40px;
    font-size: 14px;
}
.box .main .list_menu ul li:hover{
    background-color: #ddd;
}


.box .protocol p{
    font-size: 14px;
    color: #9d9d9d;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
}
.box .protocol p a{
    color: #000;
    font-weight: bold;
}
.box .protocol p .already_have{
    position: absolute;
    right:100px;
    color: orange;
}
.box .protocol p .already_have:hover{
    text-decoration: underline;
}

// bottom

.bottom{
    height: 80px;
    text-align: center;
}

.bottom p{
    font-size: 14px;
    color: #9d9d9d;
    margin: 10px 0;
}
.bottom p a{
    color: #9d9d9d;
}
.bottom p a:hover{
    color: #333;
}